package com.example.attempt.service;

import com.example.attempt.entity.Submit;

import java.util.List;

public interface SubmitService {
    public int addSubmit(Submit submit);
    public Submit queryBySubId(int submitId);
    public Submit queryBySidAndHid(int hid,String sid);
    public List<Integer> queryBySid(String sid);
    public List<Integer> getSubIdByHid(int hid);
    public int getSubmitNumber(int hid);
    public List<Submit> getByHid(int hid);
    public List<Submit> getHighSubmit(double threshold);
    public int deleteSubmit(int submitId);
    public int updateSimilarity(int submitId, double similarity);
    public int updateLink(int submitid,String link);
}
